﻿
Partial Class Default2
    Inherits System.Web.UI.Page
    Dim ocnEgresado As New Negocio.Egresado
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        Try
            ocnEgresado.RegistrarInfoLab(Me.TextBox1.Text, Me.TextBox2.Text, Me.TextBox3.Text, Me.TextBox4.Text, Me.TextBox5.Text)
        Catch ex As Exception
            Session.Add("Error", ex)
            Response.Redirect("ManejarErrores.aspx")
        End Try
    End Sub
End Class
